export default {
  // 开启命名空间
  namespaced: true,
  state: () => ({
    active: +(window.localStorage.getItem('active'))
  }),
  mutations: {
    changeActive(state, active) {
      state.active = active
      window.localStorage.setItem('active', state.active)
    }
  },
  getters: {}
}
